package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "t_todo")
public class Todo {

  @Id
  private String uid;
  private String adminUid;
  private String text;
  private Integer done;
  private Integer status;
  private Date createTime;
  private Date updateTime;

  @Transient
  private Integer currentPage;
  @Transient
  private Integer pageSize;
  @Transient
  private String keyword;

}
